package com.zxw.user.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ec_company")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 公司联系电话
     */
    private String companyPhone;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 有效期
     */
    private LocalDateTime expirationTime;

    /**
     * 最后一次登陆时间
     */
    private LocalDateTime lastLoginTime;

    /**
     * 购买状态 0-未购买 1-已购买
     */
    private Integer buyState;

    /**
     * 备注
     */
    private String note;

    /**
     * 公司地址
     */
    private String companyAddress;

    /**
     * 创建人账号
     */
    private String createUserAccount;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private Long createUserId;

    private Long lastUpdateUserId;

    private String lastUpdateUserAccount;

    private LocalDateTime lastUpdateTime;


}
